package com.ruoyi.huoyun.auth.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车主的认证信息对象 user_driver_auth
 *
 * @author mj
 * @date 2021-11-29
 */
public class UserDriverAuth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Integer id;

    /** 车主认证的手机号 */
    @Excel(name = "车主认证的手机号")
    private String telephone;

    /** 车长 */
    @Excel(name = "车长")
    private BigDecimal carLength;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carStyle;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String plateNo;

    /** 车主的身份证正面 */
    @Excel(name = "车主的身份证正面")
    private String idFront;

    /** 车主的身份证反面 */
    @Excel(name = "车主的身份证反面")
    private String idBack;

    /** 驾驶证正面 */
    @Excel(name = "驾驶证正面")
    private String drivingLicenceFront;

    /** 驾驶证背面 */
    @Excel(name = "驾驶证背面")
    private String drivingLicenceBack;

    /** 行驶证正面 */
    @Excel(name = "行驶证正面")
    private String drivingLicenceXsFront;

    /** 行驶证（附页正面） */
    @Excel(name = "行驶证", readConverterExp = "附=页正面")
    private String drivingLicenceXsBackFront;

    /** 行驶证（附页背面） */
    @Excel(name = "行驶证", readConverterExp = "附=页背面")
    private String drivingLicenceXsBackBack;

    /** 道路运输证 */
    @Excel(name = "道路运输证")
    private String rsqas;

    /** 挂靠协议 */
    @Excel(name = "挂靠协议")
    private String affiliateAgreement;

    /** 机动车登记协议 */
    @Excel(name = "机动车登记协议")
    private String motorVehicleRegistrationAgreement;

    /** nfc */
    @Excel(name = "nfc")
    private String nfc;

    /** 经营许可证 */
    @Excel(name = "经营许可证")
    private String businessLicense;

    /** 从业资格证 */
    @Excel(name = "从业资格证")
    private String qualificationCertificate;

    /** 状态（0未审核 1通过 2未通过） */
    @Excel(name = "状态", readConverterExp = "0=未审核,1=通过,2=未通过")
    private String authStatus;

    /** 认证提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认证提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commitDate;

    /** 车主会员号 */
    @Excel(name = "车主会员号")
    private String mid;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setCarLength(BigDecimal carLength)
    {
        this.carLength = carLength;
    }

    public BigDecimal getCarLength()
    {
        return carLength;
    }
    public void setCarStyle(String carStyle)
    {
        this.carStyle = carStyle;
    }

    public String getCarStyle()
    {
        return carStyle;
    }
    public void setPlateNo(String plateNo)
    {
        this.plateNo = plateNo;
    }

    public String getPlateNo()
    {
        return plateNo;
    }
    public void setIdFront(String idFront)
    {
        this.idFront = idFront;
    }

    public String getIdFront()
    {
        return idFront;
    }
    public void setIdBack(String idBack)
    {
        this.idBack = idBack;
    }

    public String getIdBack()
    {
        return idBack;
    }
    public void setDrivingLicenceFront(String drivingLicenceFront)
    {
        this.drivingLicenceFront = drivingLicenceFront;
    }

    public String getDrivingLicenceFront()
    {
        return drivingLicenceFront;
    }
    public void setDrivingLicenceBack(String drivingLicenceBack)
    {
        this.drivingLicenceBack = drivingLicenceBack;
    }

    public String getDrivingLicenceBack()
    {
        return drivingLicenceBack;
    }
    public void setDrivingLicenceXsFront(String drivingLicenceXsFront)
    {
        this.drivingLicenceXsFront = drivingLicenceXsFront;
    }

    public String getDrivingLicenceXsFront()
    {
        return drivingLicenceXsFront;
    }
    public void setDrivingLicenceXsBackFront(String drivingLicenceXsBackFront)
    {
        this.drivingLicenceXsBackFront = drivingLicenceXsBackFront;
    }

    public String getDrivingLicenceXsBackFront()
    {
        return drivingLicenceXsBackFront;
    }
    public void setDrivingLicenceXsBackBack(String drivingLicenceXsBackBack)
    {
        this.drivingLicenceXsBackBack = drivingLicenceXsBackBack;
    }

    public String getDrivingLicenceXsBackBack()
    {
        return drivingLicenceXsBackBack;
    }
    public void setRsqas(String rsqas)
    {
        this.rsqas = rsqas;
    }

    public String getRsqas()
    {
        return rsqas;
    }
    public void setAffiliateAgreement(String affiliateAgreement)
    {
        this.affiliateAgreement = affiliateAgreement;
    }

    public String getAffiliateAgreement()
    {
        return affiliateAgreement;
    }
    public void setMotorVehicleRegistrationAgreement(String motorVehicleRegistrationAgreement)
    {
        this.motorVehicleRegistrationAgreement = motorVehicleRegistrationAgreement;
    }

    public String getMotorVehicleRegistrationAgreement()
    {
        return motorVehicleRegistrationAgreement;
    }
    public void setNfc(String nfc)
    {
        this.nfc = nfc;
    }

    public String getNfc()
    {
        return nfc;
    }
    public void setBusinessLicense(String businessLicense)
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense()
    {
        return businessLicense;
    }
    public void setQualificationCertificate(String qualificationCertificate)
    {
        this.qualificationCertificate = qualificationCertificate;
    }

    public String getQualificationCertificate()
    {
        return qualificationCertificate;
    }
    public void setAuthStatus(String authStatus)
    {
        this.authStatus = authStatus;
    }

    public String getAuthStatus()
    {
        return authStatus;
    }
    public void setCommitDate(Date commitDate)
    {
        this.commitDate = commitDate;
    }

    public Date getCommitDate()
    {
        return commitDate;
    }
    public void setMid(String mid)
    {
        this.mid = mid;
    }

    public String getMid()
    {
        return mid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("telephone", getTelephone())
            .append("carLength", getCarLength())
            .append("carStyle", getCarStyle())
            .append("plateNo", getPlateNo())
            .append("idFront", getIdFront())
            .append("idBack", getIdBack())
            .append("drivingLicenceFront", getDrivingLicenceFront())
            .append("drivingLicenceBack", getDrivingLicenceBack())
            .append("drivingLicenceXsFront", getDrivingLicenceXsFront())
            .append("drivingLicenceXsBackFront", getDrivingLicenceXsBackFront())
            .append("drivingLicenceXsBackBack", getDrivingLicenceXsBackBack())
            .append("rsqas", getRsqas())
            .append("affiliateAgreement", getAffiliateAgreement())
            .append("motorVehicleRegistrationAgreement", getMotorVehicleRegistrationAgreement())
            .append("nfc", getNfc())
            .append("businessLicense", getBusinessLicense())
            .append("qualificationCertificate", getQualificationCertificate())
            .append("authStatus", getAuthStatus())
            .append("commitDate", getCommitDate())
            .append("mid", getMid())
            .toString();
    }
}
